package com.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

public class JDoc implements Serializable {

	private static final long serialVersionUID = 3325396778057993001L;

	private int id;
	private String title;
	private String url;
	private String parentUrl;
	private Date lastModified;
	private int size;
	private int maxTermFreq;
	private ArrayList<String> childLink;
	private ArrayList<String> words;

	public JDoc(String title, String url, String parentUrl, Date lastModified,
			ArrayList<String> childLink) {
		super();
		this.title = title;
		this.url = url;
		this.parentUrl = parentUrl;
		this.lastModified = lastModified;
		this.childLink = childLink;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getParentUrl() {
		return parentUrl;
	}

	public void setParentUrl(String parentUrl) {
		this.parentUrl = parentUrl;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getMaxTermFreq() {
		return maxTermFreq;
	}

	public void setMaxTermFreq(int maxTermFreq) {
		this.maxTermFreq = maxTermFreq;
	}

	public ArrayList<String> getChildLink() {
		return childLink;
	}

	public void setChildLink(ArrayList<String> childLink) {
		this.childLink = childLink;
	}

	public ArrayList<String> getWords() {
		return words;
	}

	public void setWords(ArrayList<String> words) {
		this.words = words;
	}
}
